import os

from langchain_core.tools import tool, Tool

os.environ["DASHSCOPE_API_KEY"] = "sk-9d8f1914800e497f8717144e860f99bc"


@tool
def multiply(a: int, b: int) -> int:
    """Multiply two numbers"""
    return a * b


print(multiply.name)
print(multiply.description)
print(multiply.args)
print(multiply.invoke({"a": 2, "b": 3}))
